package com.sbl.service.impl;



import com.sbl.service.IAccountServiceAOPANNO;
import com.sbl.service.IAccountServiceAOPXML;
import org.springframework.stereotype.Service;

/**
 * 账户的业务层实现类
 *
 * 事务控制应该都是在业务层
 */
@Service("accountService")
public class AccountServiceImplAOPANNO implements IAccountServiceAOPANNO {
    public void saveAccount() {
        System.out.println("执行了保存===业务方法");
    }


    public void updateAccount(int i) {
        System.out.println("执行了更新"+i);

    }

    public int deleteAccount() {
        System.out.println("执行了删除");
        return 0;
    }
   }
